﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Truron.Purchase.Utility;

namespace Truron.Purchase.Model
{
    [Serializable]
    [PrimaryKey("Id")]
    [Table("Purchase_OuterNote")]
    public class Purchase_OuterNote:BaseData
    {
        public string Code { get; set; }
        public int OwnerId { get; set; }
        public string Owner { get; set; }
        public int SuppliesId { get; set; }
        public string Supplies { get; set; }
        public string ExternalOrderNo { get; set; }
        public string ExternalProjectNo { get; set; }
        public string ExternalQuotationNo { get; set; }
        public string BillTo { get; set; }
        public DateTime QuoteDate { get; set; }
        public DateTime DateAccepted { get; set; }
        public string CurrencyType { get; set; }
        public decimal Price { get; set; }
        public decimal TaxRate { get; set; }
        public decimal Vat { get; set; }
        public decimal VATSurcharge { get; set; }
        public decimal Tax { get; set; }
        public decimal PretaxAmount { get; set; }
        public int Reviewer { get; set; }
        public string BussinessType { get; set; }
        public string ProjectName { get; set; }
        public string ProductDescription { get; set; }
        public string Scope { get; set; }
        public string Notes { get; set; }
        public string AttachId { get; set; }
        public int TypeNum { get; set; }
        public int FlowStatus { get; set; }
        public decimal RealMoney { get; set; }
        public decimal PlusAmount { get; set; }
        public int IsUsage { get; set; }
        [NotMapped]
        public int AuditerId { get; set; }
        [NotMapped]
        public string AuditerName { get; set; }
        [NotMapped]
        public int UserNum { get; set; }
        [NotMapped]
        public string SupplyName { get; set; }
        [NotMapped]
        public int ResetNum { get; set; }
        [NotMapped]
        public int thisNum { get; set; }
        [NotMapped]
        public decimal RelationMoney { get; set; }
    }
}
